package com.renli.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;
import com.renli.model.domain.Staff;
import com.renli.model.dto.StaffDto;
import com.renli.result.R;

import java.util.List;

public interface StaffService extends IService<Staff> {
   // public Page<StaffDto> getStaffMessage(int page, int size);
    public R updateOrInsert(StaffDto staffDto,String s);

   public R getOneById(Long id);

    void deleteStaffById(Long id);

}
